package com.ashbur.springframework.beans.factory.support;

import com.ashbur.springframework.beans.factory.config.BeanDefinition;

/**
 * Bean的元信息的注册
 * @author eumenides
 */
public interface BeanDefinitionRegistry {

    /**
     * 向注册表中注册 BeanDefinition
     *
     * @param beanName
     * @param beanDefinition
     */
    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition);
}
